<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>VueJs 2.x</title>
    <script src="js/vue.js"></script>
</head>
<body>
    <!-- 根容器 -->
    <div id="app">
        <!-- 标签赋值 -->
        <h1>{{name}}</h1>
        <p>{{getData('Vue')}}</p>
        <!-- 属性赋值 -->
        <!-- v-bind:[属性名称]="" -->
        <a v-bind:href="src">百度</a>
        <a :href="src">百度</a>
        <input type="text" v-bind:value="name">
        <!-- 值为标签 -->
        <!-- v-html="[变量]" -->
        <p v-html="aTag"></p>
    </div>

    <script src="js/app.js"></script>
</body>
</html>